package com.waiting.exception;

/**
 * @Description
 * @Author bjweitingting
 * @Date 2019/2/13
 **/
public class ExceptionDefined extends RuntimeException {

    public ExceptionDefined() {
    }

    public ExceptionDefined(String message) {
        super(message);
    }

    public static void main(String[] args) {
        throw new ExceptionDefined("这是自定义的异常信息");
    }
}
